package com.yuyou.fn.educational.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 优惠分类
 *
 */
@TableName(value = "discount_category")
public class DiscountCategory implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<DiscountCategory> createExample(){
		return new Example<DiscountCategory>(DiscountCategory.class);
	}

	/**  */
	@TableId(value = "discount_category_id")
	private Long discountCategoryId;

	/**  */
	private String name;

	/** 是否内置分类 0:否 1:是  */
	@TableField(value = "is_build_in")
	private Integer isBuildIn;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getDiscountCategoryId() {
		return this.discountCategoryId;
	}

	public void setDiscountCategoryId(Long discountCategoryId) {
		this.discountCategoryId = discountCategoryId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getIsBuildIn() {
		return this.isBuildIn;
	}

	public void setIsBuildIn(Integer isBuildIn) {
		this.isBuildIn = isBuildIn;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
